package 类与对象.多态;

public class Master {
    public void feed(Animal animal, Food food){
        System.out.println("动物\t"+animal.getName()+"\t 吃\t"+food.getName());
    }
}
